<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="jt.classic.system.context.ISystemContext"%>
<%@ page import="org.limp.mine.StringTool"%>
<%@ page import="jt.classic.system.user.IUser"%>
<%
	String context = ISystemContext.getContextPath();

	String menuIndex = StringTool.checkString(request
			.getParameter("menuIndex"), "-1");

	IUser user = ISystemContext.getSessionUser(request);

	String menu = (user != null ? user.itype() : "");
%>
<%
if (menu.equals("focalCompany")) {
%>

<div id="templatemo_label_wrapper">
<div id="templatemo_label"><span>企业代码：<%=(user != null ? user.getResource().get("FC_CCCCODE")
								: "")%></span><span style="padding-left: 100px;">企业名称：<%=(user != null ? user.iname() : "")%></span>
</div>
</div>
<div id="templatemo_content_wrapper">
<div id="templatemo_content_area"><!-- 左栏开始 -->
<div class="section_w160 fl margin_right_20">
<div class="menu_idx_mid">常用设置</div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("1") ? "currentA" : "")%>"><a
	href="<%=context%>/site/focalCompany/1.jsp">帐号管理</a></div>
<div class="menu_idx_content10x10"
	id="<%=(menuIndex.equals("2") ? "currentA" : "")%>"><a
	href="<%=context%>/site/focalCompany/2.jsp">密码管理</a></div>
<div class="menu_idx_mid">资料维护</div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("3") ? "currentA" : "")%>"><a
	href="<%=context%>/site/focalCompany/3.jsp">基本信息</a></div>
<div class="menu_idx_content10x10"
	id="<%=(menuIndex.equals("4") ? "currentA" : "")%>"><a
	href="<%=context%>/site/focalCompany/4.jsp">税务登记信息</a></div>
<div class="menu_idx_content0x10"
	id="<%=(menuIndex.equals("5") ? "currentA" : "")%>"><a
	href="<%=context%>/site/focalCompany/5.jsp">财务信息</a></div>
<div class="menu_idx_mid">商户名录</div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("6") ? "currentA" : "")%>"><a
	href="<%=context%>/site/focalCompany/6.jsp">供应商名录</a></div>
<div class="menu_idx_content10x10"
	id="<%=(menuIndex.equals("7") ? "currentA" : "")%>"><a
	href="<%=context%>/site/focalCompany/7.jsp">经销商名录</a></div>
<div class="menu_idx_mid">订单管理</div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("8") ? "currentA" : "")%>"><a
	href="<%=context%>/site/focalCompany/8.jsp">订单查询</a></div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("9") ? "currentA" : "")%>"><a
	href="<%=context%>/site/focalCompany/9.jsp">订单登记</a></div>
<div class="menu_idx_content10x10"
	id="<%=(menuIndex.equals("12") ? "currentA" : "")%>"><a
	href="<%=context%>/site/focalCompany/12.jsp">订单支付</a></div>	
<div class="menu_idx_mid">售单管理</div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("10") ? "currentA" : "")%>"><a
	href="<%=context%>/site/focalCompany/10.jsp">售单查询</a></div>
<div class="menu_idx_content1"></div>
</div>
<%
} else if (menu.equals("creditOrganization")) {
%>
<div id="templatemo_label_wrapper">
<div id="templatemo_label"><span><a id="creditbase"
	<%=(Integer.parseInt(menuIndex) <= 7 ? "style=\"color:red;\""
						: "")%>>基础管理</a></span>
<span style="padding-left: 20px;"><a id="creditmanage"
	<%=(Integer.parseInt(menuIndex) > 7 ? "style=\"color:red;\""
						: "")%>>贷款管理</a></span>
<span style="padding-left: 100px;">机构名称：<%=(user != null ? user.iname() : "")%></span>
</div>
</div>
<div id="templatemo_content_wrapper">
<div id="templatemo_content_area"><!-- 左栏开始 -->
<div class="section_w160 fl margin_right_20">
<%
if (Integer.parseInt(menuIndex) <= 7) {
%>
<div class="menu_idx_top">待办事项</div>
<div class="menu_idx_content10x10">待办提醒</div>
<div class="menu_idx_mid">常用设置</div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("1") ? "currentA" : "")%>"><a
	href="<%=context%>/site/creditOrganization/1.jsp">帐号管理</a></div>
<div class="menu_idx_content10x10"
	id="<%=(menuIndex.equals("2") ? "currentA" : "")%>"><a
	href="<%=context%>/site/creditOrganization/2.jsp">密码管理</a></div>
<div class="menu_idx_mid">资料维护</div>
<div class="menu_idx_content10x10"
	id="<%=(menuIndex.equals("3") ? "currentA" : "")%>"><a
	href="<%=context%>/site/creditOrganization/3.jsp">机构资料</a></div>
<div class="menu_idx_mid">授信审查</div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("4") ? "currentA" : "")%>"><a
	href="<%=context%>/site/creditOrganization/4.jsp">核心企业授信</a></div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("5") ? "currentA" : "")%>"><a
	href="<%=context%>/site/creditOrganization/5.jsp">供应商资质审核</a></div>
<div class="menu_idx_content10x10"
	id="<%=(menuIndex.equals("6") ? "currentA" : "")%>"><a
	href="<%=context%>/site/creditOrganization/6.jsp">贷款资质审核</a></div>
<div class="menu_idx_mid">融资产品管理</div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("7") ? "currentA" : "")%>"><a
	href="<%=context%>/site/creditOrganization/7.jsp">融资产品信息</a></div>
<div class="menu_idx_content1"></div>
<%
} else if (Integer.parseInt(menuIndex) > 7) {
%>
<div class="menu_idx_mid">贷款管理</div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("13") ? "currentA" : "")%>"><a
	href="<%=context%>/site/creditOrganization/13.jsp">订单跟踪统计</a></div>
<div class="menu_idx_content10x10"
	id="<%=(menuIndex.equals("14") ? "currentA" : "")%>"><a
	href="<%=context%>/site/creditOrganization/14.jsp">销售单跟踪统计</a></div>
<div class="menu_idx_mid">贷款统计</div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("10") ? "currentA" : "")%>"><a
	href="<%=context%>/site/creditOrganization/10.jsp">上游应收账款</a></div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("11") ? "currentA" : "")%>"><a
	href="<%=context%>/site/creditOrganization/11.jsp">下游应收账款</a></div>
<div class="menu_idx_content10x10"
	id="<%=(menuIndex.equals("12") ? "currentA" : "")%>"><a
	href="<%=context %>/site/creditOrganization/12.jsp">普通融资客户贷款</a></div>
<div class="menu_idx_mid">贷款需求管理</div>
<div class="menu_idx_content10x10"
	id="<%=(menuIndex.equals("11") ? "currentA" : "") %>"><a
	href="<%=context %>/site/creditOrganization/15.jsp">贷款需求列表</a></div>
<div class="menu_idx_mid">贷款审批管理</div>
<div class="menu_idx_content10x10"
	id="<%=(menuIndex.equals("16") ? "currentA" : "") %>"><a
	href="<%=context %>/site/creditOrganization/16.jsp">贷款审批</a></div>
<div class="menu_idx_mid">贷款合同管理</div>
<div class="menu_idx_content10x10"
	id="<%=(menuIndex.equals("17") ? "currentA" : "") %>"><a
	href="<%=context %>/site/creditOrganization/17.jsp">贷款合同</a></div>	
<div class="menu_idx_mid">贷款放款管理</div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("18") ? "currentA" : "") %>"><a
	href="<%=context %>/site/creditOrganization/18.jsp">放款</a></div>	
<div class="menu_idx_content1"></div>
<%
}
%>
</div>
<%
} else if (menu.equals("personSupplier")) {
%>
<div id="templatemo_label_wrapper">
<div id="templatemo_label"><span><a id="creditbase"
	<%=(Integer.parseInt(menuIndex) <= 7 ? "style=\"color:red;\""
						: "")%>>基础管理</a></span>
<span style="padding-left: 20px;"><a id="creditmanage"
	<%=(Integer.parseInt(menuIndex) > 7 ? "style=\"color:red;\""
						: "")%>>贷款管理</a></span>
<span style="padding-left: 100px;">机构名称：<%=(user != null ? user.iname() : "")%></span>
</div>
</div>
<div id="templatemo_content_wrapper">
<div id="templatemo_content_area"><!-- 左栏开始 -->
<div class="section_w160 fl margin_right_20">
<div class="menu_idx_top">待办事项</div>
<div class="menu_idx_content10x10">待办提醒</div>
<div class="menu_idx_mid">常用设置</div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("1") ? "currentA" : "")%>"><a href="#">帐号管理</a>
</div>
<div class="menu_idx_content10x10"
	id="<%=(menuIndex.equals("2") ? "currentA" : "")%>"><a href="#">密码管理</a>
</div>
<div class="menu_idx_mid">入驻申请</div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("3") ? "currentA" : "")%>"><a
	href="<%=context%>/site/personSupplier/3.jsp">个人基本信息</a></div>
<!--
  <div class="menu_idx_content10x0"
				id="<%=(menuIndex.equals("4") ? "currentA" : "")%>"> <a href="<%=context%>/site/personSupplier/4.jsp">个人经营企业信息</a> </div>
                -->
<div class="menu_idx_content1"></div>
</div>
<%
} else if (menu.equals("companySupplier")) {
%>
<div id="templatemo_label_wrapper">
<div id="templatemo_label"><span>企业代码：<%=(user != null ? user.getResource().get("FC_CCCCODE")
								: "")%></span><span style="padding-left: 100px;">企业名称：<%=(user != null ? user.iname() : "")%></span>
</div>
</div>
<div id="templatemo_content_wrapper">
<div id="templatemo_content_area"><!-- 左栏开始 -->
<div class="section_w160 fl margin_right_20">
<div class="menu_idx_top">待办事项</div>
<div class="menu_idx_content10x10">待办提醒</div>
<div class="menu_idx_mid">常用设置</div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("1") ? "currentA" : "")%>"><a
	href="<%=context%>/site/companySupplier/1.jsp">帐号管理</a></div>
<div class="menu_idx_content10x10"
	id="<%=(menuIndex.equals("2") ? "currentA" : "")%>"><a
	href="<%=context%>/site/companySupplier/2.jsp">密码管理</a></div>
<div class="menu_idx_mid">资料维护</div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("3") ? "currentA" : "")%>"><a
	href="<%=context%>/site/companySupplier/3.jsp">基本信息</a></div>
<div class="menu_idx_content10x10"
	id="<%=(menuIndex.equals("4") ? "currentA" : "")%>"><a
	href="<%=context%>/site/companySupplier/4.jsp">税务登记信息</a></div>
<div class="menu_idx_content0x10"
	id="<%=(menuIndex.equals("5") ? "currentA" : "")%>"><a
	href="<%=context%>/site/companySupplier/5.jsp">财务信息</a></div>
<div class="menu_idx_mid">贷款管理</div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("7") ? "currentA" : "")%>"><a
	href="<%=context%>/site/companySupplier/7.jsp">贷款产品</a></div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("8") ? "currentA" : "")%>"><a
	href="<%=context%>/site/companySupplier/8.jsp">贷款申请</a></div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("9") ? "currentA" : "")%>"><a
	href="<%=context%>/site/companySupplier/9.jsp">贷款合同</a></div>
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("10") ? "currentA" : "")%>"><a
	href="<%=context%>/site/companySupplier/10.jsp">放款通知</a></div>	
<div class="menu_idx_content10x0"
	id="<%=(menuIndex.equals("11") ? "currentA" : "")%>"><a
	href="<%=context%>/site/companySupplier/11.jsp">还款办理</a></div>	
<div class="menu_idx_content1"></div>
</div>
<%
}
%>
<div class="section_w600 fl">